package com.mnkjxy.beauty.net.protocal;

import org.xmlpull.v1.XmlSerializer;

import com.mnkjxy.beauty.net.bean.User;

public abstract class BaseElement {

	/**
	 * 返回请求的用户
	 * 
	 * @return
	 */
	public abstract String getUserName();

	/**
	 * 返回请求的类型,参考文档
	 * 
	 * @return
	 */
	public abstract String getTransactiontype();

	/**
	 * 序列化具体请求
	 * 
	 * @param serializer
	 */
	public abstract void serializerElement(XmlSerializer serializer);

}
